using System;

namespace RpgServiceLib.StoryFlagVariable
{
	public class StoryFlagVariableChangeEvent
	{
		public virtual IStoryFlagVariable FlagVariable{get; protected set;}
		public virtual StoryFlagVariableChangeAllowType AllowType{get; protected set;}
		public virtual object OldVal{get; protected set;}
		public virtual object NewVal{ get; protected set; }
				
		public StoryFlagVariableChangeEvent (IStoryFlagVariable flagVariable, StoryFlagVariableChangeAllowType allow, object oldVal, object newVal)
		{
			this.FlagVariable = flagVariable;
			this.AllowType= allow;
			this.OldVal=oldVal;
			this.NewVal=newVal;
		}
	}
}

